import Https from '@/utils/https'

// 新建数据Owner
const saveNewDataOwner = (params) => Https.post('/api/v1/normalization/research/dataowner/saveNewDataOwner', params)
// 编辑数据Owner
const saveDataOwner = (params) => Https.post('/api/v1/normalization/research/dataowner/saveDataOwner', params)
// 根据id获取详情
const getDataOwnerById = (params) => Https.get('/api/v1/normalization/research/dataowner/getDataOwnerById', params)
// 删除
const deleteDataOwner = (params) => Https.post('/api/v1/normalization/research/dataowner/deleteDataOwner', params)

export {
  saveNewDataOwner, saveDataOwner, getDataOwnerById, deleteDataOwner,
}
